package com.example.qy160demo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "dept")
public class Dept {
    @TableId(value = "deptNo",type = IdType.AUTO)
    private Integer deptNo;
    private String dname;
    private String loc;

}
